Fix the same confusion here, too.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 Jul 2005 16:52:55 +0000 (16:52 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 12 Jul 2005 16:52:55 +0000 (16:52 +0000)
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

* tests/testcairo.c (draw): Fix the same confusion here, too.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
tests/testcairo.c

index 7538740941a09c07d4c92c467f6c5509d8f97318..ff9e419d5ce312aa230371ddf483f76018ca34c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-07-12  Matthias Clasen  <mclasen@redhat.com>
 
+       * tests/testcairo.c (draw): Fix the same confusion here, too.
+
        * gdk/gdkgc.c (make_stipple_tile_surface): Fix 
        cairo_content_t <-> cairo_format_t confusion.  (#310086,
        Carlos Garnacho Parro)
index 7538740941a09c07d4c92c467f6c5509d8f97318..ff9e419d5ce312aa230371ddf483f76018ca34c8 100644 (file)
@@ -1,5 +1,7 @@
 2005-07-12  Matthias Clasen  <mclasen@redhat.com>
 
+       * tests/testcairo.c (draw): Fix the same confusion here, too.
+
        * gdk/gdkgc.c (make_stipple_tile_surface): Fix 
        cairo_content_t <-> cairo_format_t confusion.  (#310086,
        Carlos Garnacho Parro)
index 7538740941a09c07d4c92c467f6c5509d8f97318..ff9e419d5ce312aa230371ddf483f76018ca34c8 100644 (file)
@@ -1,5 +1,7 @@
 2005-07-12  Matthias Clasen  <mclasen@redhat.com>
 
+       * tests/testcairo.c (draw): Fix the same confusion here, too.
+
        * gdk/gdkgc.c (make_stipple_tile_surface): Fix 
        cairo_content_t <-> cairo_format_t confusion.  (#310086,
        Carlos Garnacho Parro)
index 918ebff97423b625c72c2112f3f40efb59503623..1d1c20815bae932e58ac231f8010de2beba61592 100644 (file)
@@ -129,19 +129,19 @@ draw (cairo_t *cr,
   double yc = height / 2.;
 
   overlay = cairo_surface_create_similar (cairo_get_target (cr),
-                                         CAIRO_FORMAT_ARGB32,
+                                         CAIRO_CONTENT_COLOR_ALPHA,
                                          width, height);
   if (overlay == NULL)
     return;
 
   punch = cairo_surface_create_similar (cairo_get_target (cr),
-                                       CAIRO_FORMAT_A8,
+                                       CAIRO_CONTENT_ALPHA,
                                        width, height);
   if (punch == NULL)
     return;
 
   circles = cairo_surface_create_similar (cairo_get_target (cr),
-                                         CAIRO_FORMAT_ARGB32,
+                                         CAIRO_FORMAT_COLOR_ALPHA,
                                          width, height);
   if (circles == NULL)
     return;